import {RouteRecordRaw} from "vue-router"

export const projectRoute: RouteRecordRaw[] = [
    {
        path: "/project",
        name: "project",
        component: () => import("@/pages/project/Project.vue"),
        meta: {
            left: "project"
        },
        children: [
            {
                path: "/project",
                redirect: "/projectList"
            },
            {
                path: "/projectList",
                name: "projectList",
                component: () => import("@/pages/project/views/ProjectList.vue")
            },
            {
                path: "/projectDetail",
                name: "projectDetail",
                component: () => import("@/pages/project/views/ProjectDetail.vue")
            },
            {
                path: "/projectDemand",
                name: "projectDemand",
                component: () => import("@/pages/project/views/ProjectDemandCreator.vue")
            }
        ]
    }
]